import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity('students')
export class Student {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  username: string;

  @Column()
  age: number;

  @Column()
  address: string;

  @Column()
  big: number;

  @Column()
  color: string;

  @Column()
  hobby: string;

  @Column()
  sex: number;

  @Column()
  school: string;

  @Column()
  time: Date;

  @Column()
  avatarUrl: string;
}
